package com.devunion.reader.client.to;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

import java.io.Serializable;

/**
 * @author Aliaksandr Tsimashenka 16.03.2010 : 19:25:42
 */
public class UserManagementTo extends BaseTreeModel
        implements Serializable {
    public static final String ID = "id";
    public static final String USERNAME = "username";
    public static final String ROLE = "role";

    public Long getId() {
        return get(ID);
    }

    public void setId(Long id) {
        set(ID, id);
    }

    public String getUsername() {
        return get(USERNAME);
    }

    public void setUsername(String username) {
        set(USERNAME, username);
    }

    public String getRole() {
        return get(ROLE);
    }

    public void setRole(String role) {
        set(ROLE, role);
    }
}
